<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge" />
    <title>Document</title>
    <script src="../libs/jquery-3.4.1.min.js"></script>
  </head>
  <body>
    <button>发送请求</button>
    <script>
      $("button").on("click", function() {
        $.get("http://localhost:3100/api/demo", resp => {
          console.log(resp);
        });
      });
    </script>
  </body>
</html>
